package ren.colorful.learnJava.jdk8.defaultInter;

import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.logging.Logger;

import org.junit.Test;

public class DefaultClass implements DefaultInterface{
	private static Logger LOG = Logger.getGlobal();

	@Override
	public int giveInt() {
		LOG.info(defaultStr());
		return 0;
	}

	@Test
	public void test(){
		DefaultClass o = new DefaultClass();
		LOG.info(Objects.toString(o.giveInt()));
	}
	
	public void testMap(){
		Map<String,String> map = new HashMap<String,String>();
	}
}
